--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -550,6 +550,12 @@
 	help
 	  SPI driver for Renesas RSPI and QSPI blocks.
 
+config SPI_REALTEK
+	tristate "Realtek SoC SPI controller driver"
+	depends on REALTEK
+	help
+	  SPI controller driver for the Realtek SoCs.
+
 config SPI_QUP
 	tristate "Qualcomm SPI controller with QUP interface"
 	depends on ARCH_QCOM || (ARM && COMPILE_TEST)
--- a/drivers/spi/Makefile
+++ b/drivers/spi/Makefile
@@ -78,6 +78,7 @@
 obj-$(CONFIG_SPI_PXA2XX)		+= spi-pxa2xx-platform.o
 obj-$(CONFIG_SPI_PXA2XX_PCI)		+= spi-pxa2xx-pci.o
 obj-$(CONFIG_SPI_QUP)			+= spi-qup.o
+obj-$(CONFIG_SPI_REALTEK)		+= spi-realtek.o
 obj-$(CONFIG_SPI_ROCKCHIP)		+= spi-rockchip.o
 obj-$(CONFIG_SPI_RB4XX)			+= spi-rb4xx.o
 obj-$(CONFIG_SPI_RSPI)			+= spi-rspi.o
